package com.wx.auth.servlet;

import com.wx.auth.utils.AuthUtil;

import java.io.IOException;

/**
 * @Author: lijunwei
 * @Time: 2018/6/23 19:17
 */
public class Test {
    public static void main(String[] args) throws IOException {
        String url ="https://api.weixin.qq.com/sns/oauth2/access_token?" +
                "appid=wx73f59af1123b83bb&secret=b2ea07066153e7147582f1ac995297fb" +
                "&code=021z4Xog0J5WUy1cgDpg0FS1pg0z4Xo3&grant_type=authorization_code";
        AuthUtil.doGetJson(url);
    }
}
